/*
 * Copyright (c) 2007-2021 西安交通信息投资营运有限公司 版权所有
 */

package com.xci.xajtfb.bus.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelIgnore;
import com.github.lvyanyang.core.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;

import java.util.List;

/**
 * 实时公交
 * @author 马星俊 maxingjun@xci96716.com
 * @since 2021-03-08 16:31:56
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "实时公交")
public class RealBus extends BaseEntity {

    /**
     * 线路ID
     */
    @ApiModelProperty(value = "线路ID", position = 1)
    private String lineId;

    /**
     * 线路名称
     */
    @ApiModelProperty(value = "线路名称", position = 2)
    private String lineSerial;

    /**
     * 车辆数
     */
    @ApiModelProperty(value = "车辆数", position = 3)
    private Integer runNums;

    /**
     * 平均发车间隔
     */
    @ApiModelProperty(value = "平均发车间隔", position = 4)
    private Integer avgInterval;

    /**
     * 是否有公交
     */
    @ApiModelProperty(value = "是否有公交", position = 5)
    public Boolean hasRealBus;

    /**
     * 起点站首班时间
     */
    @ApiModelProperty(value = "起点站首班时间", position = 6)
    private String firstTime;

    /**
     * 起点站末班时间
     */
    @ApiModelProperty(value = "起点站末班时间", position = 7)
    private String lastTime;

    /**
     * 终点站首班时间
     */
    @ApiModelProperty(value = "终点站首班时间", position = 8)
    private String firstTimeD;

    /**
     * 终点站末班时间
     */
    @ApiModelProperty(value = "终点站末班时间", position = 9)
    private String lastTimeD;

    /**
     * 票制
     */
    @ApiModelProperty(value = "票制", position = 10)
    private String ticketSystem;

    /**
     * 票价
     */
    @ApiModelProperty(value = "票价", position = 11)
    private Double ticketPrice;

    /**
     * 是否刷卡线路(0否1是)
     */
    @ApiModelProperty(value = "是否刷卡线路", position = 12)
    private Boolean IsSwipe;

    /**
     * 文本信息
     */
    @ApiModelProperty(value = "文本信息", position = 13)
    private String message;

    /**
     * 上行线路数据
     */
    @ApiModelProperty(value = "上行线路数据", position = 14)
    public List<RealBusStation> up;

    /**
     * 下行线路数据
     */
    @ApiModelProperty(value = "下行线路数据", position = 15)
    public List<RealBusStation> down;

}